package com.ruibang.glass.purchase.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruibang.glass.purchase.domain.req.PurchaseOrderReq;
import com.ruibang.glass.purchase.entity.PurchaseOrderDetails;
import com.teaming.cloud.framework2.common.model.ResultBody;

/**
 * <p>
 * 采购订单详情表 服务类
 * </p>
 *
 * @author mameng
 * @since 2024-03-28
 */
public interface PurchaseOrderDetailsService extends IService<PurchaseOrderDetails> {

    IPage<PurchaseOrderDetails> getPage(PurchaseOrderReq purchaseReportReq);

//    void addPurchaseOrderDetails(PurchaseOrderDetails purchaseOrderDetails);

    void updatePurchaseOrderDetails(PurchaseOrderDetails purchaseOrderDetails);

    PurchaseOrderDetails getPurchaseOrderDetails(String id);

    ResultBody addPurchaseArrOrder(PurchaseOrderDetails purchaseOrderDetails);

    void updatePayStatus(PurchaseOrderDetails purchaseOrderDetails);

    void updateOverStatus(PurchaseOrderDetails purchaseOrderDetails);
}
